package example.proxy.jdk;

//import com.example.proxy.cglib.A;

public class Practice01 {

    public static void main(String[] args) throws Exception {
//        new XiaoXingXing().findLove();
        Person person = (Person) new MeiPo().getInstance(new XiaoXingXing());
        System.out.println("代理对象" + person.getClass());
        person.findLove();
       /* A o = (A) Class.forName("com.example.proxy.cglib.A").newInstance();
        o.b();*/
    }


}

